package cn.edu.wfit.modules.learn.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.edu.wfit.common.core.annotation.Excel;
import cn.edu.wfit.common.core.web.domain.BaseEntity;

/**
 * 团队赛记录对象 wfit_competition_teamrecord
 * 
 * @author ruoyi
 * @date 2025-07-28
 */
public class WfitCompetitionTeamrecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一标识ID */
    private Long id;

    /** 关联竞赛表id */
    @Excel(name = "关联竞赛表id")
    private Long competitionId;

    /** 竞赛具体名称 */
    @Excel(name = "竞赛具体名称")
    private String competitionName;

    /** 赛道名称 */
    @Excel(name = "赛道名称")
    private String trackName;

    /** 赛道描述 */
    @Excel(name = "赛道描述")
    private String trackDescription;

    /** 人数限制 */
    @Excel(name = "人数限制")
    private Long personLimit;

    /** 报名开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报名开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date registrationStartTime;

    /** 报名结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报名结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date registrationEndTime;

    /** 比赛开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "比赛开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date competitionStartTime;

    /** 比赛结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "比赛结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date competitionEndTime;

    /** 竞赛负责人 */
    @Excel(name = "竞赛负责人")
    private String competitionLeader;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String contactWay;

    /** 比赛进度(0:报名中,1:备赛中,2:已结束) */
    @Excel(name = "比赛进度(0:报名中,1:备赛中,2:已结束)")
    private String competitionProgress;

    /** 竞赛类别(设计,算法,软件开发,创新创业) */
    @Excel(name = "竞赛类别(设计,算法,软件开发,创新创业)")
    private String competitionCategory;

    /** 是否禁用(0:否,1:是) */
    @Excel(name = "是否禁用(0:否,1:是)")
    private String isDisabled;

    /** 删除标志(0:存在,2:删除) */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCompetitionId(Long competitionId) 
    {
        this.competitionId = competitionId;
    }

    public Long getCompetitionId() 
    {
        return competitionId;
    }
    public void setCompetitionName(String competitionName) 
    {
        this.competitionName = competitionName;
    }

    public String getCompetitionName() 
    {
        return competitionName;
    }
    public void setTrackName(String trackName) 
    {
        this.trackName = trackName;
    }

    public String getTrackName() 
    {
        return trackName;
    }
    public void setTrackDescription(String trackDescription) 
    {
        this.trackDescription = trackDescription;
    }

    public String getTrackDescription() 
    {
        return trackDescription;
    }
    public void setPersonLimit(Long personLimit) 
    {
        this.personLimit = personLimit;
    }

    public Long getPersonLimit() 
    {
        return personLimit;
    }
    public void setRegistrationStartTime(Date registrationStartTime) 
    {
        this.registrationStartTime = registrationStartTime;
    }

    public Date getRegistrationStartTime() 
    {
        return registrationStartTime;
    }
    public void setRegistrationEndTime(Date registrationEndTime) 
    {
        this.registrationEndTime = registrationEndTime;
    }

    public Date getRegistrationEndTime() 
    {
        return registrationEndTime;
    }
    public void setCompetitionStartTime(Date competitionStartTime) 
    {
        this.competitionStartTime = competitionStartTime;
    }

    public Date getCompetitionStartTime() 
    {
        return competitionStartTime;
    }
    public void setCompetitionEndTime(Date competitionEndTime) 
    {
        this.competitionEndTime = competitionEndTime;
    }

    public Date getCompetitionEndTime() 
    {
        return competitionEndTime;
    }
    public void setCompetitionLeader(String competitionLeader) 
    {
        this.competitionLeader = competitionLeader;
    }

    public String getCompetitionLeader() 
    {
        return competitionLeader;
    }
    public void setContactWay(String contactWay) 
    {
        this.contactWay = contactWay;
    }

    public String getContactWay() 
    {
        return contactWay;
    }
    public void setCompetitionProgress(String competitionProgress) 
    {
        this.competitionProgress = competitionProgress;
    }

    public String getCompetitionProgress() 
    {
        return competitionProgress;
    }
    public void setCompetitionCategory(String competitionCategory) 
    {
        this.competitionCategory = competitionCategory;
    }

    public String getCompetitionCategory() 
    {
        return competitionCategory;
    }
    public void setIsDisabled(String isDisabled) 
    {
        this.isDisabled = isDisabled;
    }

    public String getIsDisabled() 
    {
        return isDisabled;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("competitionId", getCompetitionId())
            .append("competitionName", getCompetitionName())
            .append("trackName", getTrackName())
            .append("trackDescription", getTrackDescription())
            .append("personLimit", getPersonLimit())
            .append("registrationStartTime", getRegistrationStartTime())
            .append("registrationEndTime", getRegistrationEndTime())
            .append("competitionStartTime", getCompetitionStartTime())
            .append("competitionEndTime", getCompetitionEndTime())
            .append("competitionLeader", getCompetitionLeader())
            .append("contactWay", getContactWay())
            .append("competitionProgress", getCompetitionProgress())
            .append("competitionCategory", getCompetitionCategory())
            .append("isDisabled", getIsDisabled())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
